//
//  WSBMovieCardModel.m
//  NuoMi
//
//  Created by ios on 16/1/15.
//  Copyright © 2016年 iOSwusanbao. All rights reserved.
//

#import "WSBMovieCardModel.h"

@implementation WSBMovieCardModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"result":@"result",
             @"adBar":@"adBar"
             };
}

+(NSValueTransformer *)resultJSONTransformer {
    return [MTLJSONAdapter arrayTransformerWithModelClass:[WSBMovieCardResultModel class]];
}

@end



@implementation WSBMovieCardResultModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"movieId":@"movieId",
             @"name":@"name",
             @"posterUrl":@"posterUrl",
             @"score":@"score"
             };
}

@end